<?php
@define("ADMIN",true);
@define("IN_PHPBB",true);


include_once('../common.php');
include_once($root_path . '/includes/category.php');
include_once($root_path . '/includes/item.php');

$img=request_var('img','');
preg_match('/([^]\-]*)-([0-9]*);([^;]+)/',$img,$matches);
print_r($matches);
$item=new Item($matches[1],$matches[2]);
echo $item->Delete($matches[3]);
?>